from django.conf.urls import url
from app03.views import *

urlpatterns = [
    # url(r'^index/', index),
    url(r'^add/',AddView.as_view()),
    url(r'^show/',ShowView.as_view()),
    url(r'^update/',UpdateView.as_view()),
    url(r'^delete/',DeleteView.as_view()),
    url(r'^student/',StudentView.as_view()),
    url(r'^hostlist',HostListView.as_view(),name='hostlist'),
    url(r'^hoststatus',HostStatusView.as_view(),name='hoststatus'),
    url(r'^hostdelete',HostDeleteView.as_view(),name='hostdelete'),
    url(r'onetomany',OneToManyView.as_view())
]
